<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<jsp:useBean id="pageBean" scope="request" class="com.agileai.hotweb.domain.PageBean"/>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<%@include file="/jsp/inc/resource.inc.jsp"%>
<script language="javascript">
function saveRecord(){
	if (!validate()){
		return;
	}
	showSplash();
	postRequest('form1',{actionType:'save',onComplete:function(responseText){
		if (responseText == 'success'){
			hideSplash();
			parent.PopupBox.closeCurrent();
			parent.refreshPage();
		}
	}});
}
</script>
</head>
<body>
<form action="<%=pageBean.getHandlerURL()%>" name="form1" id="form1" method="post">
<%@include file="/jsp/inc/message.inc.jsp"%>
<div id="__ParamBar__" style="float: right;">&nbsp;</div>
<div id="__ToolBar__">
<table border="0" cellpadding="0" cellspacing="1">
<tr>
   <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" align="center" onclick="enableSave()" ><input value="&nbsp;" type="button" class="editImgBtn" id="modifyImgBtn" title="编辑" />编辑</td>
   <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" align="center" onclick="saveRecord()"><input value="&nbsp;" type="button" class="saveImgBtn" id="saveImgBtn" title="保存" />保存</td>
   <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" align="center" onclick="parent.PopupBox.closeCurrent();"><input value="&nbsp;" type="button" class="closeImgBtn" title="关闭" />关闭</td>
</tr>
</table>
</div>
<table class="detailTable" cellspacing="0" cellpadding="0">
<tr>
	<th width="100" nowrap>ORG_TYPE</th>
	<td><input id="ORG_TYPE" label="ORG_TYPE" name="ORG_TYPE" type="text" value="<%=pageBean.inputValue("ORG_TYPE")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>ORG_INTRODUCTION</th>
	<td><input id="ORG_INTRODUCTION" label="ORG_INTRODUCTION" name="ORG_INTRODUCTION" type="text" value="<%=pageBean.inputValue("ORG_INTRODUCTION")%>" size="65" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>ORG_LINKMAN_NAME</th>
	<td><input id="ORG_LINKMAN_NAME" label="ORG_LINKMAN_NAME" name="ORG_LINKMAN_NAME" type="text" value="<%=pageBean.inputValue("ORG_LINKMAN_NAME")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>ORG_EMAIL</th>
	<td><input id="ORG_EMAIL" label="ORG_EMAIL" name="ORG_EMAIL" type="text" value="<%=pageBean.inputValue("ORG_EMAIL")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>ORG_CONTACT_WAY</th>
	<td><input id="ORG_CONTACT_WAY" label="ORG_CONTACT_WAY" name="ORG_CONTACT_WAY" type="text" value="<%=pageBean.inputValue("ORG_CONTACT_WAY")%>" size="65" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>ORG_STATE</th>
	<td><input id="ORG_STATE" label="ORG_STATE" name="ORG_STATE" type="text" value="<%=pageBean.inputValue("ORG_STATE")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>ORG_LABELS</th>
	<td><input id="ORG_LABELS" label="ORG_LABELS" name="ORG_LABELS" type="text" value="<%=pageBean.inputValue("ORG_LABELS")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>ORG_ADDRESS</th>
	<td><input id="ORG_ADDRESS" label="ORG_ADDRESS" name="ORG_ADDRESS" type="text" value="<%=pageBean.inputValue("ORG_ADDRESS")%>" size="65" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>ORG_WEBSITE</th>
	<td><input id="ORG_WEBSITE" label="ORG_WEBSITE" name="ORG_WEBSITE" type="text" value="<%=pageBean.inputValue("ORG_WEBSITE")%>" size="65" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>ORG_CREATER</th>
	<td><input id="ORG_CREATER" label="ORG_CREATER" name="ORG_CREATER" type="text" value="<%=pageBean.inputValue("ORG_CREATER")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>ORG_CREATE_TIME</th>
	<td><input id="ORG_CREATE_TIME" label="ORG_CREATE_TIME" name="ORG_CREATE_TIME" type="text" value="<%=pageBean.inputValue("ORG_CREATE_TIME")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>ORG_UPDATE_TIME</th>
	<td><input id="ORG_UPDATE_TIME" label="ORG_UPDATE_TIME" name="ORG_UPDATE_TIME" type="text" value="<%=pageBean.inputValue("ORG_UPDATE_TIME")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>ORG_CLASSIFICATION</th>
	<td><input id="ORG_CLASSIFICATION" label="ORG_CLASSIFICATION" name="ORG_CLASSIFICATION" type="text" value="<%=pageBean.inputValue("ORG_CLASSIFICATION")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>ORG_VISIT_AGAIN_TIME</th>
	<td><input id="ORG_VISIT_AGAIN_TIME" label="ORG_VISIT_AGAIN_TIME" name="ORG_VISIT_AGAIN_TIME" type="text" value="<%=pageBean.inputTime("ORG_VISIT_AGAIN_TIME")%>" size="24" class="text" /><img id="ORG_VISIT_AGAIN_TIMEPicker" src="images/calendar.gif" width="16" height="16" alt="日期/时间选择框" />
</td>
</tr>
<tr>
	<th width="100" nowrap>CUST_ID</th>
	<td><input id="CUST_ID" label="CUST_ID" name="CUST_ID" type="text" value="<%=pageBean.inputValue("CUST_ID")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>ORG_SOURCES</th>
	<td><input id="ORG_SOURCES" label="ORG_SOURCES" name="ORG_SOURCES" type="text" value="<%=pageBean.inputValue("ORG_SOURCES")%>" size="24" class="text" />
</td>
</tr>
</table>
<input type="hidden" name="actionType" id="actionType" value=""/>
<input type="hidden" name="operaType" id="operaType" value="<%=pageBean.getOperaType()%>"/>
<input type="hidden" id="ORG_ID" name="ORG_ID" value="<%=pageBean.inputValue4DetailOrUpdate("ORG_ID","")%>" />
<input type="hidden" id="ORG_NAME" name="ORG_NAME" value="<%=pageBean.inputValue("ORG_NAME")%>" />
</form>
<script language="javascript">
initCalendar('ORG_VISIT_AGAIN_TIME','%Y-%m-%d %H:%M','ORG_VISIT_AGAIN_TIMEPicker');
datetimeValidators[0].set("yyyy-MM-dd HH:mm").add("ORG_VISIT_AGAIN_TIME");
initDetailOpertionImage();
</script>
</body>
</html>
<%@include file="/jsp/inc/scripts.inc.jsp"%>
